<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03CSS常用值</title>
    <style>
        h1{
            color: red;
            color: rgb(255,0,0);
            color: rgb(0,255,255);
            color: rgb(0,0,0);
            color: rgb(255,0,0);
            color: rgb(255,0,0);
            color: rgb(255,0,0);
            color: rgb(255,0,0);
        }
        div{
            width: 100px; height: 100px; border: 3px solid #000;

        }
        .d1{
            background-color: rgba(0,0,0,.1);
        }
        .bgi{
            width: 500px;
            height: 300px;

        }
        .viewport{
            height: 100vh;
            width: 100vw;
            background-color: red;
        }
    </style>
</head>
<body>
<div class="viewport"></div>
<d class="bgi"></d>
<h1>测试颜色</h1>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
<div class="d4"></div>
<div class="d5"></div>
</body>
</html>